doctype html
html
    head
        link(rel='stylesheet', href='/stylesheets/style.css')
    body
        div(class="Title") #{type} Guild Rank
        br
        button(onclick="location.href='/'") home
        br
        //table.table.table-striped.table-bordered.table-condensed
        table(border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse; border:1px gray solid;")
            thead
                each v in fields
                    th= v
            tbody
                each row, i in rows
                    tr
                        each value, key  in row
                            td= i+1
                            td
                                a(href='#') #{key}
                            td= value
        button(onclick="location.href='GuildRank_FlushAll'") flush
        button(onclick="location.href='/'") home